Closed Bug 1191608 Opened 10 years ago Closed 10 years ago

CanvasRenderingContext2D::DrawImage can read uninitialized pointer

Categories

(Core :: Graphics: Canvas2D, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla42
Tracking Status
firefox42 --- fixed

People

(Reporter: erahm, Assigned: lsalzman)

References

(Blocks 1 open bug)

Details

(Keywords: coverity, Whiteboard: [CID 1314983])

Attachments

(1 file)

This just initializes element to null, so that in places where it is not needed/assigned, it doesn't have a random garbage value.
Assignee: nobody → lsalzman
Status: NEW → ASSIGNED
Attachment #8644421 - Flags: review?(bas)
Attachment #8644421 - Flags: review?(bas) → review+
Keywords: checkin-needed
OS: Unspecified → All
Hardware: Unspecified → All
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla42
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: